package com.sherllinhe.common.exception;

/**
 * 功能：
 * 作者：Sherllin He
 * 日期：2025/5/4 16:15
 */

public class BusinessException extends RuntimeException {
    private BusinessExceptionEnum e;

    public BusinessException(BusinessExceptionEnum e) {
        this.e = e;
    }

    public BusinessExceptionEnum getE() {
        return e;
    }

    public void setE(BusinessExceptionEnum e) {
        this.e = e;
    }
    @Override
    public Throwable fillInStackTrace() {
        return this;
    }
}
